<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://www.ecside.org" prefix="ec"%>
<jsp:useBean id="pageBean" scope="request" class="com.agileai.hotweb.domain.PageBean"/>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>流程实例列表</title>
<%@include file="/jsp/inc/resource.inc.jsp"%>
</head>
<body>
<form action="<%=pageBean.getHandlerURL()%>" name="form1" id="form1" method="post">
<%@include file="/jsp/inc/message.inc.jsp"%>
<div id="__ParamBar__" style="float: right;">
</div>
<div id="__ToolBar__">
<table border="0" cellpadding="0" cellspacing="1">
<tr height="24px;">
	<td onmouseover="onMover(this);" onmouseout="onMout(this);" hotKey="V" class="bartdx" align="center" onClick="doRequest('viewInstanceList')"><input value="&nbsp;" type="button" class="detailImgBtn" title="查看实例" />查看实例</td>
	<td onmouseover="onMover(this);" onmouseout="onMout(this);" hotKey="B" class="bartdx" align="center" onClick="goToMain();"><input value="&nbsp;" type="button" class="backImgBtn" title="返回" />返回</td>        
</tr>
</table>
</div>
<ec:table 
form="form1"
var="row"
items="pageBean.rsList" csvFileName="流程实例列表.csv"
retrieveRowsCallback="process" xlsFileName="流程实例列表.xls"
useAjax="true" sortable="true"
doPreload="false" toolbarContent="navigation|pagejump |pagesize |export|extend|status"
width="100%" rowsDisplayed="10"
listWidth="100%" 
height="400px" 
>
<ec:row styleClass="odd" ondblclick="doRequest('viewInstanceList')" oncontextmenu="selectRow(this,{WFP_ID:'${row.WFP_ID}',WFP_NAME:'${row.WFP_NAME}'});refreshConextmenu()" onclick="selectRow(this,{WFP_ID:'${row.WFP_ID}',WFP_NAME:'${row.WFP_NAME}'})">
	<ec:column width="50" style="text-align:center" property="_0" title="序号" value="${GLOBALROWCOUNT}" />
	<ec:column width="140" property="WFP_NAME" title="业务名称"   />
	<ec:column width="140" property="WFP_CODE" title="编码"   />
	<ec:column width="100" property="WFP_VERSION" title="版本"   />
	<ec:column width="100" property="PROC_NUM" title="实例个数" />
</ec:row>
</ec:table>
<input type="hidden" name="WFP_ID" id="WFP_ID" value="" />
<input type="hidden" name="WFP_NAME" id="WFP_NAME" value="" />
<input type="hidden" name="actionType" id="actionType" />
<script language="JavaScript">
setRsIdTag('WFP_ID');
var ectableMenu = new EctableMenu('contextMenu','ec_table');
</script>
</form>
</body>
</html>
<%@include file="/jsp/inc/scripts.inc.jsp"%>
